import request from '@/util/request'

// 登录
export function login(data) {
    return request({
        url: 'sysUser/login',
        method: "post",
        data
    })
}

// 注册
export function register(data) {
    return request({
        url: 'sysUser/register',
        method: "post",
        data
    })
}
